package com.lhq.business.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.util.List;

/**
 * @author lhq
 * @version 1.0
 * @date 2024/5/15 15:14
 */
@Data
@Document("BookShelf")
public class BookShelf {
    @Id
    private String id;
    @Field("uid")
    private String uid;
    @Field("shelf")
    private List<ReadBook> shelf;

}
